package com.wyzz.hr.bo;

import java.util.List;

import com.wyzz.hr.pojo.Userinfo;
import com.wyzz.hr.util.Pager;

public interface UserBo {

	public abstract boolean addUser(Userinfo userinfo, Integer ainteger[],
			String s);

	public abstract boolean delUser(String s);

	public abstract String updateUser(Userinfo userinfo, Integer ainteger[],
			String s);

	public abstract List listUser();

	public abstract Userinfo getUserByName(String s);

	public abstract Userinfo getUserById(String s);

	public abstract String doLogin(Userinfo userinfo, String s, String s1);

	public abstract boolean updatePassword(String s, String s1);

	public abstract boolean updatePasswordBy(String s, String s1, String s2,
			String s3);

	public abstract boolean updateLimit(Userinfo userinfo);

	public abstract boolean updateStatus(String s, int i, String s1);

	public abstract List getObjects(Class class1);

	public abstract List searchUserList(String s, Userinfo userinfo, String s1,
			String s2, String s3, Pager pager);

	public abstract int getAdminCount(String s);

	public abstract boolean checkAuthModule(Userinfo userinfo, String s);

	public abstract boolean checkAuthModule(Userinfo userinfo, String s,
			String s1);

	public abstract List searchAuthByEmpNo(String s);

	public abstract List getEmpNoByDepAuth(String s, String s1);

	public abstract List getEmpNoByAuth(String s);

	public abstract String getAuthoritysByRole(String s);

	public abstract String updateUserAuth(Userinfo userinfo, String s);

	public abstract boolean isRoleNoHasAuth(Integer ainteger[], String s);

	public abstract String updateSignFree(String s);

	public abstract List getUserByIds(String as[]);

	public abstract List getEmpByAuth(String s);

	public abstract List getUserinfoByAuth(String s);
}
